<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="/resources/css/admin/subject/subjectList.css" />
	<script type="text/javascript" src="/resources/js/admin/subject/subjectList.js"></script>
	<title>/admin/subject/subjectList.jsp</title>	
</head>
<body>
	<div id="subjectlist"><br>
	<div id="top">관리자 >과목관리>과목정보페이지</div>
		<h1 id="subjecttop">과목정보페이지</h1>
		<div id="addsubject">
			<a href="/admin/subject/addSubjectForm" title="과목추가버튼" id="addbansb">[과목추가]</a>
		</div>
		<table>			
			<tr>
				<th>과목IDX</th>				
				<th>과목이름</th>
				<th>비고</th>			
			</tr>
			<c:forEach var="subject" items="${subjectList}">
			<tr>
				<td>${subject.subjectIdx}</td>
				<td>${subject.subjectName}</td>				
				<td>
					<input type="submit" value="수정">
					<input type="submit" value="삭제">
				</td>			
			</tr>
			</c:forEach>		
		</table>
	</div>	
	<form id="searchbox" action="">
	    <input id="search" type="text" placeholder=" 검색어를 검색해 주세요." size="40">
	    <input id="submit" type="submit" value="Search">
	</form>	
</body>
</html>